package com.app.micaihu.view.search.activity;

import android.os.Bundle;

import androidx.fragment.app.FragmentTransaction;

import com.app.micaihu.R;
import com.app.micaihu.base.BaseOldActivity;
import com.app.micaihu.view.main.game.fragment.GameCenterFragment;


public class GameCenterActivity extends BaseOldActivity {
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        addContentView(R.layout.search_game_center);
        setTitle("游戏中心");
        GameCenterFragment gameCenterFragment = new GameCenterFragment();
        FragmentTransaction fragmentTransaction = getSupportFragmentManager().beginTransaction();
        fragmentTransaction.add(R.id.flContent, gameCenterFragment, "gameCenterFragment");
        fragmentTransaction.commitAllowingStateLoss();
    }
}
